package com.mall.service;

import com.mall.dto.AfterSalesPageQueryDTO;
import com.mall.po.AfterSales;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.result.PageResult;

/**
 * <p>
 * 售后信息 服务类
 * </p>
 *
 * @author itlxc
 * @since 2024-04-28
 */
public interface AfterSalesService extends IService<AfterSales> {

    /**
     * 售后分页查询
     * @param afterSalesPageQueryDTO
     * @return
     */
    PageResult afterSalesPageQuery(AfterSalesPageQueryDTO afterSalesPageQueryDTO);

    /**
     * 处理售后
     * @param status
     * @param id
     */
    void handleAfterSales(Integer status, Long id);
}
